package com.atguigu.lease.web.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.lease.model.entity.LabelInfo;
import com.atguigu.lease.web.admin.service.LabelInfoService;
import com.atguigu.lease.web.admin.mapper.LabelInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 10740
* @description 针对表【label_info(标签信息表)】的数据库操作Service实现
* @createDate 2024-06-18 18:20:58
*/
@Service
public class LabelInfoServiceImpl extends ServiceImpl<LabelInfoMapper, LabelInfo>
    implements LabelInfoService{
    @Autowired
    LabelInfoMapper labelInfoMapper;
    @Override
    public List<LabelInfo> getLabelInfo(Long id) {
        return labelInfoMapper.getLabelInfo(id);
    }

    @Override
    public List<LabelInfo> roomGetLabelInfo(Long id) {
        return labelInfoMapper.roomGetLabelInfo(id);
    }
}




